//
//  BRSSoapUtils.m
//  Pint
//
//  Created by xiect on 13-11-1.
//  Copyright (c) 2013年 brains. All rights reserved.
//

#import "BRSSoapUtils.h"
@interface BRSSoapUtils ()

@end

@implementation BRSSoapUtils

// 家族ユーザー一覧取得
+(NSString *)soapBodyForGetFamilyList:(NSDictionary *)dic {
    NSString * loginId = [dic valueForKey:kHTTP_KEY_LOGIN_ID];
    NSString* envelopeString = [NSString stringWithFormat: @"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
                                "<v:Envelope xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" "
                                " xmlns:d=\"http://www.w3.org/2001/XMLSchema\""
                                " xmlns:c=\"http://schemas.xmlsoap.org/soap/encoding/\" "
                                " xmlns:v=\"http://schemas.xmlsoap.org/soap/envelope/\">"
                                "<v:Header/>"
                                "<v:Body>"
                                "<GetFamilyList xmlns=\"http://tempuri.org/\" id=\"o0\" c:root=\"1\">"
                                "<loginId i:type=\"d:string\">%@</loginId>"
                                "<rowIndex i:type=\"d:string\">xY5DC9LfhVc=</rowIndex>"
                                "</GetFamilyList>"
                                "</v:Body>"
                                "</v:Envelope>",loginId];
    return envelopeString;
}
@end
